package com.ztmg.water.mapper.base;

import com.ztmg.water.model.base.ApartmentArea;
import com.ztmg.water.model.base.ApartmentAreaExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ApartmentAreaMapper {
    long countByExample(ApartmentAreaExample example);

    int deleteByExample(ApartmentAreaExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ApartmentArea record);

    int insertSelective(ApartmentArea record);

    List<ApartmentArea> selectByExample(ApartmentAreaExample example);

    ApartmentArea selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ApartmentArea record, @Param("example") ApartmentAreaExample example);

    int updateByExample(@Param("record") ApartmentArea record, @Param("example") ApartmentAreaExample example);

    int updateByPrimaryKeySelective(ApartmentArea record);

    int updateByPrimaryKey(ApartmentArea record);
}